﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 货架
    /// </summary>
    [Table("T_Shelf")]
    public class Shelf:BaseEntity
    {
        /// <summary>
        /// 货架编码
        /// </summary>
        [MaxLength(60)]
        public string Code { get; set; }
        /// <summary>
        /// 货架名称
        /// </summary>
        [MaxLength(60)]
        public string Name { get; set; }
        /// <summary>
        /// 货架号
        /// </summary>
        public int? Number { get; set; }
        /// <summary>
        /// 库房Id
        /// </summary>
        public long WhId { get; set; }
        /// <summary>
        /// 库区Id
        /// </summary>
        public long AreaId { get; set; }
        /// <summary>
        /// 库区编码
        /// </summary>
        [MaxLength(60)]
        public string AreaCode { get; set; }
        /// <summary>
        /// 所属库区
        /// </summary>
        [MaxLength(60)]
        public string AreaName { get; set; }
        /// <summary>
        /// 状态：0-禁用；1-正常
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int DisplayOrder { get; set; }
        [MaxLength(60)]
        public string Remark { get; set; }
        [MaxLength(60)]
        public string WhName { get; set; }
        /// <summary>
		/// 正常仓位数量
		/// </summary>
        public int? CellCount { get; set; }
        /// <summary>
		/// 禁用仓位数量
		/// </summary>
        public int? DisabledCellCount { get; set; }
        /// <summary>
        /// 深度，1：单深位，2：俩深位，3：三深位，4：四深位，5：五深位
        /// </summary>
        public int? Depth { get; set; }
        /// <summary>
        /// 货架类型：1-轻型货架；2-重型货架
        /// </summary>
        public int? ShelfType { get; set; }
        /// <summary>
        /// 巷道Id
        /// </summary>
        public long? RoutewayId { get; set; }
    }
}
